// ****************************************************************************** 
// Copyright     :  Copyright (C) 2018, Hisilicon Technologies Co. Ltd.
// File name     :  sao_c_union_define.h
// Project line  :  K3
// Department    :  K3
// Author        :  Huawei
// Version       :  V100
// Date          :  2015/4/10
// Description   :  HiVcodecV100 VDEC
// Others        :  Generated automatically by nManager V4.2 
// History       :  Huawei 2018/04/10 10:02:40 Create file
// ******************************************************************************

#ifndef __SAO_C_UNION_DEFINE_H__
#define __SAO_C_UNION_DEFINE_H__

/* Define the union U_SAO_RD_BACK_REG0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_0          : 8  ; /* [31:24] */
        unsigned int    snd_cur_st     : 4  ; /* [23:20] */
        unsigned int    bps_cur_st     : 4  ; /* [19:16] */
        unsigned int    cal_cur_st     : 8  ; /* [15:8] */
        unsigned int    ld_data_cur_st : 4  ; /* [7:4] */
        unsigned int    ld_info_cur_st : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SAO_RD_BACK_REG0;

/* Define the union U_SAO_RD_BACK_REG1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_1                 : 4  ; /* [31:28] */
        unsigned int    ld_data_left_line_cnt : 4  ; /* [27:24] */
        unsigned int    ld_data_line_cnt      : 4  ; /* [23:20] */
        unsigned int    ctb_y                 : 8  ; /* [19:12] */
        unsigned int    ctb_x                 : 8  ; /* [11:4] */
        unsigned int    blk_in_ctb_cnt        : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SAO_RD_BACK_REG1;

/* Define the union U_SAO_RD_BACK_REG2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_2                  : 9  ; /* [31:23] */
        unsigned int    stack_cur_full         : 1  ; /* [22] */
        unsigned int    stack_cur_full_pre     : 1  ; /* [21] */
        unsigned int    ld_strack_wptr_cnt_pre : 9  ; /* [20:12] */
        unsigned int    ld_strack_wptr_cnt     : 8  ; /* [11:4] */
        unsigned int    ld_stack_wptr          : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SAO_RD_BACK_REG2;

/* Define the union U_SAO_RD_BACK_REG3 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_3              : 16  ; /* [31:16] */
        unsigned int    bps_stack_rptr_cnt : 8  ; /* [15:8] */
        unsigned int    bps_stack_rptr     : 4  ; /* [7:4] */
        unsigned int    bps_line_cnt       : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SAO_RD_BACK_REG3;

/* Define the union U_SAO_RD_BACK_REG4 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_4                  : 12  ; /* [31:20] */
        unsigned int    cal_col_cnt            : 4  ; /* [19:16] */
        unsigned int    cal_line_cnt           : 4  ; /* [15:12] */
        unsigned int    cal_stack_cur_rptr     : 4  ; /* [11:8] */
        unsigned int    cal_stack_cur_rptr_cnt : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SAO_RD_BACK_REG4;

/* Define the union U_SAO_RD_BACK_REG5 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_5                   : 9  ; /* [31:23] */
        unsigned int    stack_left_full_pre     : 1  ; /* [22] */
        unsigned int    stack_left_full         : 1  ; /* [21] */
        unsigned int    stack_empty             : 1  ; /* [20] */
        unsigned int    snd_left_stack_rptr     : 4  ; /* [19:16] */
        unsigned int    snd_left_stack_rptr_cnt : 8  ; /* [15:8] */
        unsigned int    snd_left_line_cnt       : 4  ; /* [7:4] */
        unsigned int    snd_top_cnt             : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SAO_RD_BACK_REG5;

/* Define the union U_SAO_RD_BACK_REG6 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_6              : 16  ; /* [31:16] */
        unsigned int    rd_nbr_buf_cur_st  : 4  ; /* [15:12] */
        unsigned int    wr_nbr_emar_cur_st : 4  ; /* [11:8] */
        unsigned int    rd_emar_cur_st     : 4  ; /* [7:4] */
        unsigned int    wr_buf_cur_st      : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SAO_RD_BACK_REG6;

/* Define the union U_SAO_RD_BACK_REG7 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_7       : 12  ; /* [31:20] */
        unsigned int    nbr_ctby    : 8  ; /* [19:12] */
        unsigned int    nbr_ctbx    : 8  ; /* [11:4] */
        unsigned int    top_blk_vld : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SAO_RD_BACK_REG7;

/* Define the union U_SAO_RD_BACK_REG8 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_8           : 14  ; /* [31:18] */
        unsigned int    wstack_full_pre : 1  ; /* [17] */
        unsigned int    wstack_empty    : 1  ; /* [16] */
        unsigned int    wstack_wptr_pre : 4  ; /* [15:12] */
        unsigned int    wstack_wptr     : 4  ; /* [11:8] */
        unsigned int    wstack_rptr     : 4  ; /* [7:4] */
        unsigned int    wr_color_index  : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SAO_RD_BACK_REG8;

/* Define the union U_SAO_RD_BACK_REG9 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    wr_tile_right_ctbx      : 8  ; /* [31:24] */
        unsigned int    nbr2obuf_left_raddr)cnt : 8  ; /* [23:16] */
        unsigned int    sao2emar_left_awvalid   : 1  ; /* [15] */
        unsigned int    emar2sao_left_awready   : 1  ; /* [14] */
        unsigned int    sao2emar_left_wvalid    : 1  ; /* [13] */
        unsigned int    emar2sao_left_wready    : 1  ; /* [12] */
        unsigned int    emar_left_awvld_cnt     : 4  ; /* [11:8] */
        unsigned int    emar_left_wvld_cnt      : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SAO_RD_BACK_REG9;

/* Define the union U_SAO_RD_BACK_REG10 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_9                       : 4  ; /* [31:28] */
        unsigned int    nbr2obuf_left_rreq          : 1  ; /* [27] */
        unsigned int    obuf2nbr_rack               : 1  ; /* [26] */
        unsigned int    nbr2nbuf_top_rreq           : 1  ; /* [25] */
        unsigned int    nbuf2nbr_rack               : 1  ; /* [24] */
        unsigned int    nbr2nbuf_top_raddr_cnt      : 8  ; /* [23:16] */
        unsigned int    sao2emar_top_awvalid        : 1  ; /* [15] */
        unsigned int    emar2sao_top_awready        : 1  ; /* [14] */
        unsigned int    sao2emar_top_wvalid         : 1  ; /* [13] */
        unsigned int    emar2sao_top_wready         : 1  ; /* [12] */
        unsigned int    emar_top_wvld_cnt           : 8  ; /* [11:4] */
        unsigned int    emar_top_wvld_in_wstack_cnt : 4  ; /* [3:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SAO_RD_BACK_REG10;

/* Define the union U_SAO_RD_BACK_REG11 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    emar2sao_awready      : 1  ; /* [31] */
        unsigned int    emar2sao_wready       : 1  ; /* [30] */
        unsigned int    sao2emar_awvalid      : 1  ; /* [29] */
        unsigned int    sao2emar_wvalid       : 1  ; /* [28] */
        unsigned int    rd_obuf_cur_st        : 4  ; /* [27:24] */
        unsigned int    wr_emar_cur_st        : 4  ; /* [23:20] */
        unsigned int    stack_luma_wptr_pre   : 4  ; /* [19:16] */
        unsigned int    stack_chroma_wptr_pre : 4  ; /* [15:12] */
        unsigned int    stack_luma_rptr       : 4  ; /* [11:8] */
        unsigned int    stack_chroma_rptr     : 4  ; /* [7:4] */
        unsigned int    stack_luma_empty      : 1  ; /* [3] */
        unsigned int    stack_luma_full_pre   : 1  ; /* [2] */
        unsigned int    stack_chroma_emtpy    : 1  ; /* [1] */
        unsigned int    stack_chroma_full_pre : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SAO_RD_BACK_REG11;

/* Define the union U_SAO_RD_BACK_REG12 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    ctbx         : 8  ; /* [31:24] */
        unsigned int    ctby         : 8  ; /* [23:16] */
        unsigned int    wr_emar_ctbx : 8  ; /* [15:8] */
        unsigned int    wr_emar_ctby : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SAO_RD_BACK_REG12;

/* Define the union U_SAO_RD_BACK_REG13 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    sao2emar_awcoef2 : 16  ; /* [31:16] */
        unsigned int    sao2emar_awcoef3 : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SAO_RD_BACK_REG13;

/* Define the union U_SAO_RD_BACK_REG14 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    sao2emar_awcoef4 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SAO_RD_BACK_REG14;

/* Define the union U_SAO_RD_BACK_REG15 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_10                     : 4  ; /* [31:28] */
        unsigned int    obuf_wptr                  : 4  ; /* [27:24] */
        unsigned int    obuf_whole_wptr            : 4  ; /* [23:20] */
        unsigned int    obuf_rptr                  : 4  ; /* [19:16] */
        unsigned int    rsv_11                     : 2  ; /* [15:14] */
        unsigned int    obuf_full                  : 1  ; /* [13] */
        unsigned int    obuf_empty                 : 1  ; /* [12] */
        unsigned int    obuf_core_tile_right_full  : 1  ; /* [11] */
        unsigned int    obuf_core_tile_right_empty : 1  ; /* [10] */
        unsigned int    obuf_nbr_tile_right_full   : 1  ; /* [9] */
        unsigned int    obuf_nbr_tile_right_empty  : 1  ; /* [8] */
        unsigned int    obuf2core_reconstr_wack    : 1  ; /* [7] */
        unsigned int    obuf2ldstr_rack            : 1  ; /* [6] */
        unsigned int    obuf2core_tile_right_wack  : 1  ; /* [5] */
        unsigned int    obuf2core_rack             : 1  ; /* [4] */
        unsigned int    rsv_12                     : 1  ; /* [3] */
        unsigned int    obuf2nbr_wack              : 1  ; /* [2] */
        unsigned int    obuf2nbr_rack              : 1  ; /* [1] */
        unsigned int    obuf2core_wack             : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SAO_RD_BACK_REG15;

/* Define the union U_SAO_RD_BACK_REG16 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_13              : 6  ; /* [31:26] */
        unsigned int    sao2pmv_wack        : 1  ; /* [25] */
        unsigned int    sao2dblk_wack       : 1  ; /* [24] */
        unsigned int    rsv_14              : 1  ; /* [23] */
        unsigned int    ibuf2core_dblk_rack : 1  ; /* [22] */
        unsigned int    ibuf2core_pmv_rack  : 1  ; /* [21] */
        unsigned int    ibuf2nbr_pmv_rack   : 1  ; /* [20] */
        unsigned int    ibuf_dblk_wptr      : 2  ; /* [19:18] */
        unsigned int    ibuf_dblk_rptr      : 2  ; /* [17:16] */
        unsigned int    rsv_15              : 2  ; /* [15:14] */
        unsigned int    ibuf_dblk_full      : 1  ; /* [13] */
        unsigned int    ibuf_dblk_empty     : 1  ; /* [12] */
        unsigned int    ibuf_dblk_cmd_wptr  : 4  ; /* [11:8] */
        unsigned int    ibuf_dblk_cmd_rptr  : 4  ; /* [7:4] */
        unsigned int    ibuf_pmv_full       : 1  ; /* [3] */
        unsigned int    ibuf_pmv_emtpy      : 1  ; /* [2] */
        unsigned int    ibuf_nbr_pmv_full   : 1  ; /* [1] */
        unsigned int    ibuf_nbr_pmv_empty  : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SAO_RD_BACK_REG16;

/* Define the union U_SAO_RD_BACK_REG17 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_16              : 20  ; /* [31:12] */
        unsigned int    nbuf_core_top_full  : 1  ; /* [11] */
        unsigned int    nbuf_core_top_empty : 1  ; /* [10] */
        unsigned int    nbuf_nbr_top_full   : 1  ; /* [9] */
        unsigned int    nbuf_nbr_top_empty  : 1  ; /* [8] */
        unsigned int    core2nbuf_wreq      : 1  ; /* [7] */
        unsigned int    nbuf2core_wack      : 1  ; /* [6] */
        unsigned int    core2nbuf_rreq      : 1  ; /* [5] */
        unsigned int    nbuf2core_rack      : 1  ; /* [4] */
        unsigned int    nbr2nbuf_wreq       : 1  ; /* [3] */
        unsigned int    nbuf2nbr_wack       : 1  ; /* [2] */
        unsigned int    nbr2nbuf_rreq       : 1  ; /* [1] */
        unsigned int    nbuf2nbr_rack       : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_SAO_RD_BACK_REG17;


//==============================================================================
/* Define the global struct */
typedef struct
{
    volatile U_SAO_RD_BACK_REG0  SAO_RD_BACK_REG0  ; /* 0 */
    volatile U_SAO_RD_BACK_REG1  SAO_RD_BACK_REG1  ; /* 4 */
    volatile U_SAO_RD_BACK_REG2  SAO_RD_BACK_REG2  ; /* 8 */
    volatile U_SAO_RD_BACK_REG3  SAO_RD_BACK_REG3  ; /* C */
    volatile U_SAO_RD_BACK_REG4  SAO_RD_BACK_REG4  ; /* 10 */
    volatile U_SAO_RD_BACK_REG5  SAO_RD_BACK_REG5  ; /* 14 */
    volatile U_SAO_RD_BACK_REG6  SAO_RD_BACK_REG6  ; /* 18 */
    volatile U_SAO_RD_BACK_REG7  SAO_RD_BACK_REG7  ; /* 1C */
    volatile U_SAO_RD_BACK_REG8  SAO_RD_BACK_REG8  ; /* 20 */
    volatile U_SAO_RD_BACK_REG9  SAO_RD_BACK_REG9  ; /* 24 */
    volatile U_SAO_RD_BACK_REG10 SAO_RD_BACK_REG10 ; /* 28 */
    volatile U_SAO_RD_BACK_REG11 SAO_RD_BACK_REG11 ; /* 2C */
    volatile U_SAO_RD_BACK_REG12 SAO_RD_BACK_REG12 ; /* 30 */
    volatile U_SAO_RD_BACK_REG13 SAO_RD_BACK_REG13 ; /* 34 */
    volatile U_SAO_RD_BACK_REG14 SAO_RD_BACK_REG14 ; /* 38 */
    volatile U_SAO_RD_BACK_REG15 SAO_RD_BACK_REG15 ; /* 3C */
    volatile U_SAO_RD_BACK_REG16 SAO_RD_BACK_REG16 ; /* 40 */
    volatile U_SAO_RD_BACK_REG17 SAO_RD_BACK_REG17 ; /* 44 */

} S_sao_REGS_TYPE;

/* Declare the struct pointor of the module sao */
extern volatile S_sao_REGS_TYPE *gopsaoAllReg;

/* Declare the functions that set the member value */
int iSetSAO_RD_BACK_REG0_snd_cur_st(unsigned int usnd_cur_st);
int iSetSAO_RD_BACK_REG0_bps_cur_st(unsigned int ubps_cur_st);
int iSetSAO_RD_BACK_REG0_cal_cur_st(unsigned int ucal_cur_st);
int iSetSAO_RD_BACK_REG0_ld_data_cur_st(unsigned int uld_data_cur_st);
int iSetSAO_RD_BACK_REG0_ld_info_cur_st(unsigned int uld_info_cur_st);
int iSetSAO_RD_BACK_REG1_ld_data_left_line_cnt(unsigned int uld_data_left_line_cnt);
int iSetSAO_RD_BACK_REG1_ld_data_line_cnt(unsigned int uld_data_line_cnt);
int iSetSAO_RD_BACK_REG1_ctb_y(unsigned int uctb_y);
int iSetSAO_RD_BACK_REG1_ctb_x(unsigned int uctb_x);
int iSetSAO_RD_BACK_REG1_blk_in_ctb_cnt(unsigned int ublk_in_ctb_cnt);
int iSetSAO_RD_BACK_REG2_stack_cur_full(unsigned int ustack_cur_full);
int iSetSAO_RD_BACK_REG2_stack_cur_full_pre(unsigned int ustack_cur_full_pre);
int iSetSAO_RD_BACK_REG2_ld_strack_wptr_cnt_pre(unsigned int uld_strack_wptr_cnt_pre);
int iSetSAO_RD_BACK_REG2_ld_strack_wptr_cnt(unsigned int uld_strack_wptr_cnt);
int iSetSAO_RD_BACK_REG2_ld_stack_wptr(unsigned int uld_stack_wptr);
int iSetSAO_RD_BACK_REG3_bps_stack_rptr_cnt(unsigned int ubps_stack_rptr_cnt);
int iSetSAO_RD_BACK_REG3_bps_stack_rptr(unsigned int ubps_stack_rptr);
int iSetSAO_RD_BACK_REG3_bps_line_cnt(unsigned int ubps_line_cnt);
int iSetSAO_RD_BACK_REG4_cal_col_cnt(unsigned int ucal_col_cnt);
int iSetSAO_RD_BACK_REG4_cal_line_cnt(unsigned int ucal_line_cnt);
int iSetSAO_RD_BACK_REG4_cal_stack_cur_rptr(unsigned int ucal_stack_cur_rptr);
int iSetSAO_RD_BACK_REG4_cal_stack_cur_rptr_cnt(unsigned int ucal_stack_cur_rptr_cnt);
int iSetSAO_RD_BACK_REG5_stack_left_full_pre(unsigned int ustack_left_full_pre);
int iSetSAO_RD_BACK_REG5_stack_left_full(unsigned int ustack_left_full);
int iSetSAO_RD_BACK_REG5_stack_empty(unsigned int ustack_empty);
int iSetSAO_RD_BACK_REG5_snd_left_stack_rptr(unsigned int usnd_left_stack_rptr);
int iSetSAO_RD_BACK_REG5_snd_left_stack_rptr_cnt(unsigned int usnd_left_stack_rptr_cnt);
int iSetSAO_RD_BACK_REG5_snd_left_line_cnt(unsigned int usnd_left_line_cnt);
int iSetSAO_RD_BACK_REG5_snd_top_cnt(unsigned int usnd_top_cnt);
int iSetSAO_RD_BACK_REG6_rd_nbr_buf_cur_st(unsigned int urd_nbr_buf_cur_st);
int iSetSAO_RD_BACK_REG6_wr_nbr_emar_cur_st(unsigned int uwr_nbr_emar_cur_st);
int iSetSAO_RD_BACK_REG6_rd_emar_cur_st(unsigned int urd_emar_cur_st);
int iSetSAO_RD_BACK_REG6_wr_buf_cur_st(unsigned int uwr_buf_cur_st);
int iSetSAO_RD_BACK_REG7_nbr_ctby(unsigned int unbr_ctby);
int iSetSAO_RD_BACK_REG7_nbr_ctbx(unsigned int unbr_ctbx);
int iSetSAO_RD_BACK_REG7_top_blk_vld(unsigned int utop_blk_vld);
int iSetSAO_RD_BACK_REG8_wstack_full_pre(unsigned int uwstack_full_pre);
int iSetSAO_RD_BACK_REG8_wstack_empty(unsigned int uwstack_empty);
int iSetSAO_RD_BACK_REG8_wstack_wptr_pre(unsigned int uwstack_wptr_pre);
int iSetSAO_RD_BACK_REG8_wstack_wptr(unsigned int uwstack_wptr);
int iSetSAO_RD_BACK_REG8_wstack_rptr(unsigned int uwstack_rptr);
int iSetSAO_RD_BACK_REG8_wr_color_index(unsigned int uwr_color_index);
int iSetSAO_RD_BACK_REG9_wr_tile_right_ctbx(unsigned int uwr_tile_right_ctbx);
int iSetSAO_RD_BACK_REG9_nbr2obuf_left_raddr)cnt(unsigned int unbr2obuf_left_raddr)cnt);
int iSetSAO_RD_BACK_REG9_sao2emar_left_awvalid(unsigned int usao2emar_left_awvalid);
int iSetSAO_RD_BACK_REG9_emar2sao_left_awready(unsigned int uemar2sao_left_awready);
int iSetSAO_RD_BACK_REG9_sao2emar_left_wvalid(unsigned int usao2emar_left_wvalid);
int iSetSAO_RD_BACK_REG9_emar2sao_left_wready(unsigned int uemar2sao_left_wready);
int iSetSAO_RD_BACK_REG9_emar_left_awvld_cnt(unsigned int uemar_left_awvld_cnt);
int iSetSAO_RD_BACK_REG9_emar_left_wvld_cnt(unsigned int uemar_left_wvld_cnt);
int iSetSAO_RD_BACK_REG10_nbr2obuf_left_rreq(unsigned int unbr2obuf_left_rreq);
int iSetSAO_RD_BACK_REG10_obuf2nbr_rack(unsigned int uobuf2nbr_rack);
int iSetSAO_RD_BACK_REG10_nbr2nbuf_top_rreq(unsigned int unbr2nbuf_top_rreq);
int iSetSAO_RD_BACK_REG10_nbuf2nbr_rack(unsigned int unbuf2nbr_rack);
int iSetSAO_RD_BACK_REG10_nbr2nbuf_top_raddr_cnt(unsigned int unbr2nbuf_top_raddr_cnt);
int iSetSAO_RD_BACK_REG10_sao2emar_top_awvalid(unsigned int usao2emar_top_awvalid);
int iSetSAO_RD_BACK_REG10_emar2sao_top_awready(unsigned int uemar2sao_top_awready);
int iSetSAO_RD_BACK_REG10_sao2emar_top_wvalid(unsigned int usao2emar_top_wvalid);
int iSetSAO_RD_BACK_REG10_emar2sao_top_wready(unsigned int uemar2sao_top_wready);
int iSetSAO_RD_BACK_REG10_emar_top_wvld_cnt(unsigned int uemar_top_wvld_cnt);
int iSetSAO_RD_BACK_REG10_emar_top_wvld_in_wstack_cnt(unsigned int uemar_top_wvld_in_wstack_cnt);
int iSetSAO_RD_BACK_REG11_emar2sao_awready(unsigned int uemar2sao_awready);
int iSetSAO_RD_BACK_REG11_emar2sao_wready(unsigned int uemar2sao_wready);
int iSetSAO_RD_BACK_REG11_sao2emar_awvalid(unsigned int usao2emar_awvalid);
int iSetSAO_RD_BACK_REG11_sao2emar_wvalid(unsigned int usao2emar_wvalid);
int iSetSAO_RD_BACK_REG11_rd_obuf_cur_st(unsigned int urd_obuf_cur_st);
int iSetSAO_RD_BACK_REG11_wr_emar_cur_st(unsigned int uwr_emar_cur_st);
int iSetSAO_RD_BACK_REG11_stack_luma_wptr_pre(unsigned int ustack_luma_wptr_pre);
int iSetSAO_RD_BACK_REG11_stack_chroma_wptr_pre(unsigned int ustack_chroma_wptr_pre);
int iSetSAO_RD_BACK_REG11_stack_luma_rptr(unsigned int ustack_luma_rptr);
int iSetSAO_RD_BACK_REG11_stack_chroma_rptr(unsigned int ustack_chroma_rptr);
int iSetSAO_RD_BACK_REG11_stack_luma_empty(unsigned int ustack_luma_empty);
int iSetSAO_RD_BACK_REG11_stack_luma_full_pre(unsigned int ustack_luma_full_pre);
int iSetSAO_RD_BACK_REG11_stack_chroma_emtpy(unsigned int ustack_chroma_emtpy);
int iSetSAO_RD_BACK_REG11_stack_chroma_full_pre(unsigned int ustack_chroma_full_pre);
int iSetSAO_RD_BACK_REG12_ctbx(unsigned int uctbx);
int iSetSAO_RD_BACK_REG12_ctby(unsigned int uctby);
int iSetSAO_RD_BACK_REG12_wr_emar_ctbx(unsigned int uwr_emar_ctbx);
int iSetSAO_RD_BACK_REG12_wr_emar_ctby(unsigned int uwr_emar_ctby);
int iSetSAO_RD_BACK_REG13_sao2emar_awcoef2(unsigned int usao2emar_awcoef2);
int iSetSAO_RD_BACK_REG13_sao2emar_awcoef3(unsigned int usao2emar_awcoef3);
int iSetSAO_RD_BACK_REG14_sao2emar_awcoef4(unsigned int usao2emar_awcoef4);
int iSetSAO_RD_BACK_REG15_obuf_wptr(unsigned int uobuf_wptr);
int iSetSAO_RD_BACK_REG15_obuf_whole_wptr(unsigned int uobuf_whole_wptr);
int iSetSAO_RD_BACK_REG15_obuf_rptr(unsigned int uobuf_rptr);
int iSetSAO_RD_BACK_REG15_obuf_full(unsigned int uobuf_full);
int iSetSAO_RD_BACK_REG15_obuf_empty(unsigned int uobuf_empty);
int iSetSAO_RD_BACK_REG15_obuf_core_tile_right_full(unsigned int uobuf_core_tile_right_full);
int iSetSAO_RD_BACK_REG15_obuf_core_tile_right_empty(unsigned int uobuf_core_tile_right_empty);
int iSetSAO_RD_BACK_REG15_obuf_nbr_tile_right_full(unsigned int uobuf_nbr_tile_right_full);
int iSetSAO_RD_BACK_REG15_obuf_nbr_tile_right_empty(unsigned int uobuf_nbr_tile_right_empty);
int iSetSAO_RD_BACK_REG15_obuf2core_reconstr_wack(unsigned int uobuf2core_reconstr_wack);
int iSetSAO_RD_BACK_REG15_obuf2ldstr_rack(unsigned int uobuf2ldstr_rack);
int iSetSAO_RD_BACK_REG15_obuf2core_tile_right_wack(unsigned int uobuf2core_tile_right_wack);
int iSetSAO_RD_BACK_REG15_obuf2core_rack(unsigned int uobuf2core_rack);
int iSetSAO_RD_BACK_REG15_obuf2nbr_wack(unsigned int uobuf2nbr_wack);
int iSetSAO_RD_BACK_REG15_obuf2nbr_rack(unsigned int uobuf2nbr_rack);
int iSetSAO_RD_BACK_REG15_obuf2core_wack(unsigned int uobuf2core_wack);
int iSetSAO_RD_BACK_REG16_sao2pmv_wack(unsigned int usao2pmv_wack);
int iSetSAO_RD_BACK_REG16_sao2dblk_wack(unsigned int usao2dblk_wack);
int iSetSAO_RD_BACK_REG16_ibuf2core_dblk_rack(unsigned int uibuf2core_dblk_rack);
int iSetSAO_RD_BACK_REG16_ibuf2core_pmv_rack(unsigned int uibuf2core_pmv_rack);
int iSetSAO_RD_BACK_REG16_ibuf2nbr_pmv_rack(unsigned int uibuf2nbr_pmv_rack);
int iSetSAO_RD_BACK_REG16_ibuf_dblk_wptr(unsigned int uibuf_dblk_wptr);
int iSetSAO_RD_BACK_REG16_ibuf_dblk_rptr(unsigned int uibuf_dblk_rptr);
int iSetSAO_RD_BACK_REG16_ibuf_dblk_full(unsigned int uibuf_dblk_full);
int iSetSAO_RD_BACK_REG16_ibuf_dblk_empty(unsigned int uibuf_dblk_empty);
int iSetSAO_RD_BACK_REG16_ibuf_dblk_cmd_wptr(unsigned int uibuf_dblk_cmd_wptr);
int iSetSAO_RD_BACK_REG16_ibuf_dblk_cmd_rptr(unsigned int uibuf_dblk_cmd_rptr);
int iSetSAO_RD_BACK_REG16_ibuf_pmv_full(unsigned int uibuf_pmv_full);
int iSetSAO_RD_BACK_REG16_ibuf_pmv_emtpy(unsigned int uibuf_pmv_emtpy);
int iSetSAO_RD_BACK_REG16_ibuf_nbr_pmv_full(unsigned int uibuf_nbr_pmv_full);
int iSetSAO_RD_BACK_REG16_ibuf_nbr_pmv_empty(unsigned int uibuf_nbr_pmv_empty);
int iSetSAO_RD_BACK_REG17_nbuf_core_top_full(unsigned int unbuf_core_top_full);
int iSetSAO_RD_BACK_REG17_nbuf_core_top_empty(unsigned int unbuf_core_top_empty);
int iSetSAO_RD_BACK_REG17_nbuf_nbr_top_full(unsigned int unbuf_nbr_top_full);
int iSetSAO_RD_BACK_REG17_nbuf_nbr_top_empty(unsigned int unbuf_nbr_top_empty);
int iSetSAO_RD_BACK_REG17_core2nbuf_wreq(unsigned int ucore2nbuf_wreq);
int iSetSAO_RD_BACK_REG17_nbuf2core_wack(unsigned int unbuf2core_wack);
int iSetSAO_RD_BACK_REG17_core2nbuf_rreq(unsigned int ucore2nbuf_rreq);
int iSetSAO_RD_BACK_REG17_nbuf2core_rack(unsigned int unbuf2core_rack);
int iSetSAO_RD_BACK_REG17_nbr2nbuf_wreq(unsigned int unbr2nbuf_wreq);
int iSetSAO_RD_BACK_REG17_nbuf2nbr_wack(unsigned int unbuf2nbr_wack);
int iSetSAO_RD_BACK_REG17_nbr2nbuf_rreq(unsigned int unbr2nbuf_rreq);
int iSetSAO_RD_BACK_REG17_nbuf2nbr_rack(unsigned int unbuf2nbr_rack);

#endif // __SAO_C_UNION_DEFINE_H__
